using System.IO;
using System.Net;
using System.Text;

namespace CometServiceDemo.Comet
{
    public class RequestState
    {
        // This class stores the State of the request.
        private const int BufferSize = 4096;
        public StringBuilder RequestData;
        public byte[] BufferRead;
        public HttpWebRequest Request;
        public HttpWebResponse Response;
        public Stream StreamResponse;

        public RequestState()
        {
            BufferRead = new byte[BufferSize];
            RequestData = new StringBuilder("");
            Request = null;
            StreamResponse = null;
        }
    }
}